#pragma once
#include <iostream>
#include <string>
#include <vector>
using namespace std;

class vector_float
{
public:
	vector_float();
	vector_float(int s);

	~vector_float();

	void set(float value, int index);
	void read_from_keyboard();
	void print();

private:
	float *vptr;
	int size;

	void create_vector(int s);
	void delete_vector();
};

#pragma once



class MultiMedia
{
public:
	MultiMedia();

	MultiMedia(string, int);

	~MultiMedia();

	void set_name(string s){ this->name = s; }
	void set_year(int i){ this->year = i; }
	string get_name(){ return this->name; }
	int get_year(){ return this->year; }

	friend ostream &operator << (ostream &stream, MultiMedia &mm);
	friend istream &operator >> (istream &stream, MultiMedia &mm);

protected:
	string name;
	int year;
};

string escapeDoubleQuotes(string);

//vector<vector<string>> myCsvParser(string csv_file);